<?php
use think\facade\Route;
/**
 * 用户学习证书配置
 */

Route::group('admin/student', function () {
    Route::get('<userId>/cert/list', 'studentCourse')->pattern(['userId' => '\d+']);
})->prefix('\app\user\service\user\admin\Cert@')->middleware(['adminRoute']);


Route::get('admin/student/cert/print', '\app\course\service\cert\admin\Cert@printData')->middleware(['adminRoute']);